﻿using System.Windows.Media.Effects;

namespace Pixster.Slideshow.ShaderEffects
{
    public class FadeTransition : TransitionEffect
    {
        private static PixelShader _pixelShader = new PixelShader();

        static FadeTransition()
        {
            _pixelShader.UriSource = Global.MakePackUri("ShaderEffects/TransitionEffects/Source/FadeTransition.ps");
        }

        public FadeTransition()
        {
            this.PixelShader = _pixelShader;
            this.Name = "Fade";
        }
    }
}